package cn.iocoder.yudao.module.infra.filestore.impl.mock;

import cn.iocoder.yudao.module.infra.filestore.model.CreateFileRes;
import cn.iocoder.yudao.module.infra.filestore.IFileStore;
import org.springframework.stereotype.Service;

@Service("fileStore-mock")
public class MockFileStore implements IFileStore {

    @Override
    public CreateFileRes createFile(String fileName, byte[] fileContent) {
        final CreateFileRes res = new CreateFileRes();
        res.setUrl("https://www.baidu.com");
        return res;
    }
}
